First of all to analyze the reasons for the timeout:
1. The network is not smooth.
2. Background running slower (the first time the server is running, easy to appear)
Timeout Result: Timeout set request timeout in JQ.
Enter error (Error handling)
I. Summary
This series of articles will take you into the wonderful world of jquery, with many authors ' specific experiences and solutions, even if you can use jquery to find some cheats in your reading.
This article explains how to use jquery to
Usually when the Ajax access server, from the sending request to establish a connection, to the server processing and return the data time is not too long, depending on the server set session time. Once the server is processing data slowly and may
This example describes the Ajax usage of jquery learning notes. Share to everyone for your reference, specific as follows:
One, Ajax request
1, Jquery.ajax (options)
Load remote data through an HTTP request. JQuery bottom AJAX implementation.
$. Get (), $. Post (), $. Ajax (), $. getjson ()
1, $. Get (URL, [data], [callback])
Note: The URL is the request address, the data is the list of request data, and the callback is the callback function after the request is successful. This
Read more about jquery's Ajax functions:$.get (), $.post (), $.ajax (), $.getjson ()
One, $.get (Url,[data],[callback])
Description: The URL is the request address, data is the list of requests, callback is a successful callback function, the
This article is for jquery in $.get (), $.post (), $.ajax (), $.getjson () with a detailed summary of the introduction, the need for friends can come over to the reference, I hope to be helpful to everyoneRead more about jquery's various Ajax
Ext. ajax. timeout, ext. ajax. request
The company has a small product that uses ext's ajax function. Later, when the data volume is large, query timeout is always reported. After analysis, it is caused by the default timeout setting. Later, it adds
While studying the "sharp jquery Sixth" jquery and Ajax applications, now take the following notes:Let's take a look at what is Ajax? Ajax is all called "Asynchronous JavaScript and XML" (Asynchronous JavaScript and XML), which does not refer to a
When extjs makes an Ajax request, the default time is 30 seconds. If the data query time exceeds 30 seconds, extjs reports an error.
In this case, you need to modify the extjs timeout time:
Two methods:
1: add the :( Timeout: 100000000)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.